"UIPATH"="Appearance\Files&Folders\Files Open Warning"
"NAME"="Add File Open Warning"
"VERSION"="1.00"
"LANGUAGE"="VBScript"
"OSVERSION"="000101"
"TEXT 1"="Add new file to the File Open Warning list"
"DESCRIPTION 1"="This plug-in allows you to add a new file type that currently does not have an open warning. After adding it, you can change the Open Warning with the "Edit File Open Warnings" plug-in."
"DESCRIPTION 2"="Please enter the file extension without the beginning ".", e.g. "TXT" (no quotes)."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
sP="HKLM\Software\Classes\"
Sub Plugin_Initialize
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if ElementIndex=1 then
s=InputWindow("Please enter the extension of the file type, without the beginning dot, e.g. TXT","TXT",1)
if IsEmpty(s)=false then
if RegValueExists(sP & "." & s & "\NoOpen") then
Call MsgError("This file type has already an open warning")